
<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label id="storageLocationCode"><@label key="storageLocationCode.C,colon">库位编号：</@label></label> <input type="text" name="storageLocationCode" value="${condition.storageLocationCode!''}" /></li>
                <li><label id="storageLocationText"><@label key="storageLocationText.C,colon">库位描述：</@label></label> <input type="text" name="storageLocationText" value="${condition.storageLocationText!''}" /></li>
                <li>
                        <label><@label key="lockFlag.C,colon">锁定标记：</@label></label> <select name="lockFlag">
                            <option value=""><@label key="all.C">所有</@label></option>
                            <option value="0"<#if condition.lockFlag?? && condition.lockFlag == 0> selected="selected"</#if>><@label key="no.C">否</@label></option>
                            <option value="1"<#if condition.lockFlag?? && condition.lockFlag == 1> selected="selected"</#if>><@label key="yes.C">是</@label></option>
                        </select>
                    </li>
                    
            </ul>
            <ul class="searchContent">
                <li>
                <label><@label key="warehouseForStorageLocation.C,colon">所属仓库：</@label></label> <select name="warehouseCode">
                        <option value=""><@label key="all.C">所有</@label></option> <#list warehouses as warehouse>
                        <option value="${warehouse.warehouseCode}"<#if condition.warehouseCode?? && condition.warehouseCode == warehouse.warehouseCode> selected="selected"</#if>>${warehouse.warehouseCode}-${warehouse.warehouseText}</option> </#list>
                </select>
                </li>
                <li>
                <label><@label key="storageLocationType.C,colon">库位类型：</@label></label> 
                <select name="storageLocationTypeCode">
                        <option value=""><@label key="all.C">所有</@label></option> 
                        <#list storageLocationTypes as storageLocationType>
                        <option value="${storageLocationType.storageLocationTypeCode}"<#if condition.storageLocationTypeCode?? && condition.storageLocationTypeCode == storageLocationType.storageLocationTypeCode> selected="selected"</#if>>${storageLocationType.storageLocationTypeCode}-${storageLocationType.storageLocationTypeText}</option> </#list>
                </select>
                </li>
                <li></li>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit"><@label key="query.B">查询</@label></button>
                            </div>
                        </div>
                    </li>
            </ul>
        </div>
    </div>
</form>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
          <@buttonRight menuCode="STORAGELOCATION_ADD" labelKey="add.B" defalutName="新增">
            <li><a class="add" rel="addStorageLocation" target="dialog" mask="true" width="635" height="200" href="${rc.getContextPath()}/manage/storageLocation/addStorageLocation?navTabId=${navTabId!''}" title="<@label key='addStorageLocation.D'>新增库位</@label>"><span><@label key="add.B">新增</@label></span>
            </a>
            </li>
            </@buttonRight>
             <@buttonRight menuCode="STORAGELOCATION_EDIT" labelKey="edit.B" defalutName="编辑">
            <li><a class="edit" target="dialog" mask="true" width="635" height="270" href="${rc.getContextPath()}/manage/storageLocation/modifyStorageLocation?id={storageLocation_code}&navTabId=${navTabId!''}" title="<@label key='editStorageLocation.D'>编辑库位</@label>"><span><@label key="edit.B">编辑</@label></span>
            </a>
            </li>
            </@buttonRight>
             <@buttonRight menuCode="STORAGELOCATION_VIEW" labelKey="view.B" defalutName="详情">
            <li><a class="icon" target="dialog" mask="true" width="635" height="270" href="${rc.getContextPath()}/manage/storageLocation/viewStorageLocation?id={storageLocation_code}&navTabId=${navTabId!''}" title="<@label key='viewStorageLocation.D'>库位详情</@label>"><span><@label key="view.B">详情</@label></span>
            </a>
            </li>
            </@buttonRight>
             <@buttonRight menuCode="STORAGELOCATION_DEL" labelKey="delete.B" defalutName="删除">
            <li><a class="delete" target="selectedTodo" href="${rc.getContextPath()}/manage/storageLocation/deleteStorageLocation?navTabId=${navTabId!''}" callback="batchjobAjaxDone" postType="string" rel="ids"
                title="<@label key='confirmDelStorageLocation.M'>确认要删除选择的库位吗？</@label>"><span><@label key="delete.B">删除</@label></span>
            </a>
            </li>
            </@buttonRight>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="165" style="overflow:scroll;">
        <thead>
            <tr>
                <th width="22"><input type="checkbox" group="ids" class="checkboxCtrl">
                </th>
                <th width="100" orderField="storageLocationCode"<#if (page.orderField?? && page.orderField == 'storageLocationCode')>class="${page.orderDirection!''}"</#if>><@label key="storageLocationCode.C">库位编号</@label></th>
                <th width="100" orderField="storageLocationText"<#if (page.orderField?? && page.orderField == 'storageLocationText')>class="${page.orderDirection!''}"</#if>><@label key="storageLocationText.C">库位描述</@label></th>
                <th width="100" orderField="warehouseText"<#if (page.orderField?? && page.orderField == 'warehouseText')>class="${page.orderDirection!''}"</#if>><@label key="warehouseForStorageLocation.C">所属仓库</@label></th>
                <th width="100" orderField="storageLocationTypeText"<#if (page.orderField?? && page.orderField == 'storageLocationTypeText')>class="${page.orderDirection!''}"</#if>><@label key="storageLocationTypeText.C">库位类型</@label></th>
                <th width="50" orderField="lockFlag"<#if (page.orderField?? && page.orderField == 'lockFlag')>class="${page.orderDirection!''}"</#if>><@label key="lockFlag.C">锁定标记</@label></th>
                <th width="100" orderField="createUser"<#if (page.orderField?? && page.orderField == 'createUser')>class="${page.orderDirection!''}"</#if>><@label key="createUser.C">创建人</@label></th>
                <th width="100" orderField="createDateTime"<#if (page.orderField?? && page.orderField == 'createDateTime')>class="${page.orderDirection!''}"</#if>><@label key="createDateTime.C">创建时间</@label></th>
                <th width="100" orderField="modifyUser"<#if (page.orderField?? && page.orderField == 'modifyUser')>class="${page.orderDirection!''}"</#if>><@label key="modifyUser.C">修改人</@label></th>
                <th width="100" orderField="modifyDateTime"<#if (page.orderField?? && page.orderField == 'modifyDateTime')>class="${page.orderDirection!''}"</#if>><@label key="modifyDateTime.C">修改时间</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as resource>
            <tr target="storageLocation_code" rel="${resource.storageLocationCode!''}">
                <td><input name="ids" value="${resource.storageLocationCode!''}" type="checkbox"></td>
                <td>${resource.storageLocationCode!''}</td>
                <td>${resource.storageLocationText!''}</td>
                <td>${resource.warehouseText!''}</td>
                <td>${resource.storageLocationTypeText!''}</td>
                <td><#if resource.lockFlag == 0><@label key="no.C">否</@label><#else><@label key="yes.C">是</@label></#if></td>
                <td>${resource.createUser!''}</td>
                <td>${resource.createDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td>${resource.modifyUser!''}</td>
                <td>${resource.modifyDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
            </tr>
            </#list> <#else>
            <tr target="resource_id">
                    <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if> <#else>
            <tr target="resource_id">
                    <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/panelBar.html">
</div>